/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa165.musiclibrary.api.services;

import cz.muni.fi.pa165.musiclibrary.api.dao.GenreDAO;
import cz.muni.fi.pa165.musiclibrary.api.dto.GenreDTO;
import java.util.List;

/**
 *
 * @author Dominik
 */
public interface GenreService {
    
    public void createGenre(GenreDTO genre);
   
    public GenreDTO getGenre(Long id);

    public List<GenreDTO> getAllGenres();
   
    public void updateGenre(GenreDTO genre);
  
    public void deleteGenre(GenreDTO genre);   

    public void setGenreDAO(GenreDAO genreDAO);

}
